import request from '@/axios/request'
import { resolve } from 'uri-js';

  // 8. 统计浏览量量
  export function countVisit(data) {
    return request({
      url: '/zhixuan/api/v1/user/opt/countVisit',
      method: 'post',
      data
    })
  }

  // 12. 获取楼盘周边推荐
  export function recommendHouse(params) {
    return request({
      url: '/zhixuan/api/v1/filterOrSort/recommendHouse',
      method: 'get',
      params
    })
  }

// 17 图片上传
export function uploadImage(data) {
    return request({
      url: '/zhixuan/api/v1/uploadImage/form',
      method: 'post',
      data
    })
  }

